mathpix-markdown-it 2.0.33 → 2.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/changelog.md +24 -0
- package/es5/bundle.js +1 -1
- package/es5/index.js +1 -1
- package/lib/markdown/common/render-table-cell-content.js +14 -8
- package/lib/markdown/common/render-table-cell-content.js.map +1 -1
- package/lib/markdown/md-block-rule/begin-table.js +10 -1
- package/lib/markdown/md-block-rule/begin-table.js.map +1 -1
- package/lib/markdown/md-latex-lists-env/latex-list-env-inline.js +1 -0
- package/lib/markdown/md-latex-lists-env/latex-list-env-inline.js.map +1 -1
- package/package.json +1 -1
- package/pr-specs/2026-02-fix-stuck-render-malformed-table-close.md +151 -0
- package/pr-specs/2026-02-formd-delegate-image-rendering-in-table-cells.md +126 -0
package/doc/changelog.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# February 2026
|
|
2
|
+
|
|
3
|
+
## [2.0.35] - 13 February 2026
|
|
4
|
+
|
|
5
|
+
- Tabular:
|
|
6
|
+
- When `forMD` option is set, `renderTableCellContent` now delegates `image`/`includegraphics` rendering to the caller's render rules instead of hardcoding ``.
|
|
7
|
+
- Added `isTableCell` meta flag on child tokens when `forMD` is set, allowing render rules to escape pipe characters in alt text.
|
|
8
|
+
- Added null-safety for `attrGet('alt')` in the default image rendering path.
|
|
9
|
+
|
|
10
|
+
- Docs:
|
|
11
|
+
- Added implementation details in `pr-specs/2026-02-formd-delegate-image-rendering-in-table-cells.md`.
|
|
12
|
+
|
|
13
|
+
## [2.0.34] - 7 February 2026
|
|
14
|
+
|
|
15
|
+
- Table/Figure:
|
|
16
|
+
- Fixed renderer hang when a `\begin{table}` or `\begin{figure}` has a malformed closing tag (e.g. `\end{table>`).
|
|
17
|
+
- `BeginTable` no longer consumes content across multiple table/figure environments when the first is unclosed.
|
|
18
|
+
|
|
19
|
+
- Lists (inline):
|
|
20
|
+
- Fixed `latexListEnvInline` silent mode to advance `state.pos`, preventing infinite loops in `skipToken` when `\begin{itemize}` or `\begin{enumerate}` appears in inline content.
|
|
21
|
+
|
|
22
|
+
- Docs:
|
|
23
|
+
- Added implementation details in `pr-specs/2026-02-fix-stuck-render-malformed-table-close.md`.
|
|
24
|
+
|
|
1
25
|
# January 2026
|
|
2
26
|
|
|
3
27
|
## [2.0.33] - 27 January 2026
|